package com.sino.operation.param.inner;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName TaskChoiceOtherParam
 * @Description TOD
 * @Author 北陈
 * @Date 2021/10/21 18:39
 * @Version 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "任务暂挂、释放参数")
public class TaskChoiceOtherParam {

    @ApiModelProperty(name = "journalNo", value = "交易流水号",required = true)
    @NotBlank(message = "交易流水号不能为空")
    private String journalNo;

    @ApiModelProperty(name = "centerTellerNo", value = "中心作业柜员号",required = true)
    @NotBlank(message = "中心柜员号不能为空")
    private String centerTellerNo;

    @ApiModelProperty(name = "centerTellerName", value = "中心柜员名字",required = true)
    @NotBlank(message = "中心柜员名字不能为空")
    private String centerTellerName;

    @ApiModelProperty(name = "postNo", value = "岗位号",required = true)
    @NotBlank(message = "岗位号不能为空")
    private String postNo;

    @ApiModelProperty(name = "postName", value = "岗位名字",required = true)
    @NotBlank(message = "岗位名字不能为空")
    private String postName;

    @ApiModelProperty(name = "nodeName",value = "节点名字",required = true)
    @NotBlank(message = "节点名字不能为空")
    private String nodeName;

    @ApiModelProperty(name = "tranCode",value = "交易码",required = true)
    @NotBlank(message = "交易码不能为空")
    private String tranCode;

    @ApiModelProperty(name = "tranName",value = "交易名字",required = true)
    @NotBlank(message = "交易名字不能为空")
    private String tranName;

    @ApiModelProperty(name = "taskId",value = "流程id",required = true)
    @NotBlank(message = "流程id不能为空")
    private String taskId;

    @ApiModelProperty(name = "reason",value = "原因",required = true)
    @NotBlank(message = "原因不能为空")
    private String reason;

    @ApiModelProperty(value = "提示信息")
    private String hint;

    @ApiModelProperty(name = "centerNo", value = "工作中心",required = true)
    @NotBlank(message = "工作中心不能为空")
    private String centerNo;
}
